<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Test_POR_12_02_049_CheckFinishFunctionAfterEditedPortlet</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test_POR_12_02_049_CheckFinishFunctionAfterEditedPortlet</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/portal/public/classic/</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>windowMaximize</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Go to Edit layout--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Site</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Site</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UISiteManagement']/table/tbody/tr/td[3]/a[1]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/div[1]/div/div[2]/div/div/div[1]</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/div[1]/div/div[2]/div/div/div[1]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Go to Portlet Setting--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>title</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>title</td>
	<td>POR_Test_12_02_049</td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td>POR_Test_12_02_049</td>
</tr>
<tr>
	<td>echo</td>
	<td>--Go to Select Icon--</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//form[@id='UIPortletForm']/div[4]/div/div/div[2]/div[2]/div/a[1]/div</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//form[@id='UIPortletForm']/div[4]/div/div/div[2]/div[2]/div/a[1]/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[4]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Go to Decoration Themes--</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[4]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Save And Close</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Save And Close</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Return to default--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Edit Layout</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Edit Layout</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/div[1]/div/div[2]/div/div/div[1]</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/div[1]/div/div[2]/div/div/div[1]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Choose Portlet Setting--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>title</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>title</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Choose Select Icon--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Get Default</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Get Default</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Choose Decoration Themes--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[4]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[4]/div/div/div/div</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='Theme']/div/div[2]/div[1]/div[3]/a</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='Theme']/div/div[2]/div[1]/div[3]/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Save And Close</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Save And Close</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[contains(@href, &quot;javascript:ajaxGet('/portal/private/classic/portalnavigation?portal:componentId=UIPortalComposer&amp;portal:action=Finish&amp;ajaxRequest=true')&quot;)]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//a[contains(@href, &quot;javascript:ajaxGet('/portal/private/classic/portalnavigation?portal:componentId=UIPortalComposer&amp;portal:action=Finish&amp;ajaxRequest=true')&quot;)]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
